package com.haixiaoke.saas.cleaner.domain;

import com.haixiaoke.saas.common.utils.TreeUtil.ITree;
import lombok.Data;

/**
 * @author xiaolong
 * @date 2024/5/10
 */
@Data
public class InspectionProcessRecordTree extends ITree<String> {

    /**
     * 保洁流程名称
     */
    private String cleaningProcessName;
    /**
     * 设施图片
     */
    private String facilitiesImg;
    /**
     * 设施状态
     */
    private String facilitiesState;
    /**
     * 验房流程id
     */
    private Long inspectionProcessId;

    @Override
    protected boolean firstLevel() {
        return getParentId() == null;
    }
}
